package com.contest.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * 
 *
 * @author liuyf
 * @email 123456@qq.com
 * @date 2018-01-19 14:16:32
 */
@TableName("betting_record")
public class BettingRecord extends Model<BettingRecord> implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId("fd_id")
	private String fdId;
	//0:单场胜负,1:击杀人数,2:总场胜负
	@TableField("fd_type")
	private Integer fdType;
	//竞猜时间
	@TableField("fd_betting_time")
	private String fdBettingTime;
	//竞猜房间号
	@TableField("fd_room_id")
	private String fdRoomId;
	//
	@TableField("fd_room_name")
	private String fdRoomName;
	//竞猜游戏id
	@TableField("fd_game_id")
	private String fdGameId;
	//游戏名称
	@TableField("fd_game_name")
	private String fdGameName;
	//
	@TableField("fd_race_id")
	private String fdRaceId;
	//赛事名称
	@TableField("fd_race_name")
	private String fdRaceName;
	//竞猜金额
	@TableField("fd_betting_amount")
	private BigDecimal fdBettingAmount;
	//竞猜战队
	@TableField("fd_betting_war_id")
	private String fdBettingWarId;
	//竞猜战队对名称
	@TableField("fd_betting_war_name")
	private String fdBettingWarName;
	//竞猜用户id
	@TableField("fd_user_id")
	private String fdUserId;
	//
	@TableField("fd_user_name")
	private String fdUserName;
	//
	@TableField("fd_betting_num")
	private String fdBettingNum;
	//竞猜结果-1:输0:未开奖,1:赢
	@TableField("fd_result")
	private Integer fdResult;
	//竞猜输赢金额
	@TableField("fd_win_lose")
	private BigDecimal fdWinLose;
	//竞猜备注
	@TableField("fd_remark")
	private String fdRemark;
	//是否结算
	@TableField("fd_is_settlement")
	private Integer fdIsSettlement;
	/**
	 * 设置：主键
	 */
	public void setFdId(String fdId) {
			this.fdId = fdId;
	}
	/**
	 * 获取：主键
	 */
	public String getFdId() {
			return fdId;
	}
	/**
	 * 设置：0:单场胜负,1:击杀人数,2:总场胜负
	 */
	public void setFdType(Integer fdType) {
			this.fdType = fdType;
	}
	/**
	 * 获取：0:单场胜负,1:击杀人数,2:总场胜负
	 */
	public Integer getFdType() {
			return fdType;
	}
	/**
	 * 设置：竞猜时间
	 */
	public void setFdBettingTime(String fdBettingTime) {
			this.fdBettingTime = fdBettingTime;
	}
	/**
	 * 获取：竞猜时间
	 */
	public String getFdBettingTime() {
			return fdBettingTime;
	}
	/**
	 * 设置：竞猜房间号
	 */
	public void setFdRoomId(String fdRoomId) {
			this.fdRoomId = fdRoomId;
	}
	/**
	 * 获取：竞猜房间号
	 */
	public String getFdRoomId() {
			return fdRoomId;
	}
	/**
	 * 设置：
	 */
	public void setFdRoomName(String fdRoomName) {
			this.fdRoomName = fdRoomName;
	}
	/**
	 * 获取：
	 */
	public String getFdRoomName() {
			return fdRoomName;
	}
	/**
	 * 设置：竞猜游戏id
	 */
	public void setFdGameId(String fdGameId) {
			this.fdGameId = fdGameId;
	}
	/**
	 * 获取：竞猜游戏id
	 */
	public String getFdGameId() {
			return fdGameId;
	}
	/**
	 * 设置：游戏名称
	 */
	public void setFdGameName(String fdGameName) {
			this.fdGameName = fdGameName;
	}
	/**
	 * 获取：游戏名称
	 */
	public String getFdGameName() {
			return fdGameName;
	}
	/**
	 * 设置：
	 */
	public void setFdRaceId(String fdRaceId) {
			this.fdRaceId = fdRaceId;
	}
	/**
	 * 获取：
	 */
	public String getFdRaceId() {
			return fdRaceId;
	}
	/**
	 * 设置：赛事名称
	 */
	public void setFdRaceName(String fdRaceName) {
			this.fdRaceName = fdRaceName;
	}
	/**
	 * 获取：赛事名称
	 */
	public String getFdRaceName() {
			return fdRaceName;
	}
	/**
	 * 设置：竞猜金额
	 */
	public void setFdBettingAmount(BigDecimal fdBettingAmount) {
			this.fdBettingAmount = fdBettingAmount;
	}
	/**
	 * 获取：竞猜金额
	 */
	public BigDecimal getFdBettingAmount() {
			return fdBettingAmount;
	}
	/**
	 * 设置：竞猜战队
	 */
	public void setFdBettingWarId(String fdBettingWarId) {
			this.fdBettingWarId = fdBettingWarId;
	}
	/**
	 * 获取：竞猜战队
	 */
	public String getFdBettingWarId() {
			return fdBettingWarId;
	}
	/**
	 * 设置：竞猜战队对名称
	 */
	public void setFdBettingWarName(String fdBettingWarName) {
			this.fdBettingWarName = fdBettingWarName;
	}
	/**
	 * 获取：竞猜战队对名称
	 */
	public String getFdBettingWarName() {
			return fdBettingWarName;
	}
	/**
	 * 设置：竞猜用户id
	 */
	public void setFdUserId(String fdUserId) {
			this.fdUserId = fdUserId;
	}
	/**
	 * 获取：竞猜用户id
	 */
	public String getFdUserId() {
			return fdUserId;
	}
	/**
	 * 设置：
	 */
	public void setFdUserName(String fdUserName) {
			this.fdUserName = fdUserName;
	}
	/**
	 * 获取：
	 */
	public String getFdUserName() {
			return fdUserName;
	}
	/**
	 * 设置：
	 */
	public void setFdBettingNum(String fdBettingNum) {
			this.fdBettingNum = fdBettingNum;
	}
	/**
	 * 获取：
	 */
	public String getFdBettingNum() {
			return fdBettingNum;
	}
	/**
	 * 设置：竞猜结果-1:输0:未开奖,1:赢
	 */
	public void setFdResult(Integer fdResult) {
			this.fdResult = fdResult;
	}
	/**
	 * 获取：竞猜结果-1:输0:未开奖,1:赢
	 */
	public Integer getFdResult() {
			return fdResult;
	}
	/**
	 * 设置：竞猜输赢金额
	 */
	public void setFdWinLose(BigDecimal fdWinLose) {
			this.fdWinLose = fdWinLose;
	}
	/**
	 * 获取：竞猜输赢金额
	 */
	public BigDecimal getFdWinLose() {
			return fdWinLose;
	}
	/**
	 * 设置：竞猜备注
	 */
	public void setFdRemark(String fdRemark) {
			this.fdRemark = fdRemark;
	}
	/**
	 * 获取：竞猜备注
	 */
	public String getFdRemark() {
			return fdRemark;
	}
	/**
	 * 设置：是否结算
	 */
	public void setFdIsSettlement(Integer fdIsSettlement) {
			this.fdIsSettlement = fdIsSettlement;
	}
	/**
	 * 获取：是否结算
	 */
	public Integer getFdIsSettlement() {
			return fdIsSettlement;
	}

	@Override
	protected Serializable pkVal() {
			return this.fdId;
	}
}
